import java.util.Scanner;
public class ClsTest {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        Cls s=new Cls();
        System.out.println("请输入课时数：");
        try{
            s.setA(in.nextInt());
            System.out.println("请输入课程数：");
            s.setB(in.nextInt());
            s.Cal();
        }catch (Exception b){
            b.printStackTrace();
        }
    }
}